import {get, post} from "@/axios/http.js";
import {BASEURL} from '@/api/baseUrl.js';

//发布岗位
export const addPostionInfo = (param) => {
    return post(BASEURL + "/position/addPostionInfo", param);
}

//修改岗位信息
export const updatePostionInfo = (param) => {
    return post(BASEURL + "/position/updatePostionInfo", param);
}

//删除岗位
export const deletePositon = (param) => {
    return get(BASEURL + "/position/delete/one", param);
}

//获取岗位列表  分页
export const getPositionListPage = (param) => {
    return post(BASEURL + "/position/getPositionListPage", param);
}

